.class Les/lx$c;
.super Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;
.source "AbsRecyclerViewFastScroller.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/lx;->getOnScrollListener()Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Les/lx;


# direct methods
.method constructor <init>(Les/lx;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/lx$c;->a:Les/lx;

    invoke-direct {p0}, Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;-><init>()V

    return-void
.end method


# virtual methods
.method public onScrollStateChanged(Landroidx/recyclerview/widget/RecyclerView;I)V
    .locals 0

    .line 1
    invoke-super {p0, p1, p2}, Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;->onScrollStateChanged(Landroidx/recyclerview/widget/RecyclerView;I)V

    if-nez p2, :cond_0

    .line 2
    iget-object p1, p0, Les/lx$c;->a:Les/lx;

    invoke-virtual {p1}, Les/lx;->a()V

    :cond_0
    return-void
.end method

.method public onScrolled(Landroidx/recyclerview/widget/RecyclerView;II)V
    .locals 0

    .line 1
    iget-object p2, p0, Les/lx$c;->a:Les/lx;

    invoke-virtual {p2}, Les/lx;->getScrollProgressCalculator()Les/px;

    move-result-object p2

    if-eqz p2, :cond_0

    .line 2
    invoke-interface {p2, p1}, Les/ox;->a(Landroidx/recyclerview/widget/RecyclerView;)F

    move-result p1

    goto :goto_0

    :cond_0
    const/4 p1, 0x0

    .line 3
    :goto_0
    iget-object p2, p0, Les/lx$c;->a:Les/lx;

    invoke-static {p2}, Les/lx;->d(Les/lx;)Z

    move-result p2

    if-nez p2, :cond_1

    if-eqz p3, :cond_1

    .line 4
    iget-object p2, p0, Les/lx$c;->a:Les/lx;

    invoke-virtual {p2, p1}, Les/lx;->a(F)V

    .line 5
    :cond_1
    iget-object p1, p0, Les/lx$c;->a:Les/lx;

    invoke-static {p1}, Les/lx;->a(Les/lx;)Landroid/animation/ObjectAnimator;

    move-result-object p1

    if-eqz p1, :cond_2

    .line 6
    iget-object p1, p0, Les/lx$c;->a:Les/lx;

    invoke-static {p1}, Les/lx;->a(Les/lx;)Landroid/animation/ObjectAnimator;

    move-result-object p1

    invoke-virtual {p1}, Landroid/animation/ObjectAnimator;->isRunning()Z

    move-result p1

    if-eqz p1, :cond_2

    .line 7
    iget-object p1, p0, Les/lx$c;->a:Les/lx;

    invoke-static {p1}, Les/lx;->a(Les/lx;)Landroid/animation/ObjectAnimator;

    move-result-object p1

    invoke-virtual {p1}, Landroid/animation/ObjectAnimator;->cancel()V

    :cond_2
    return-void
.end method
